home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / swblocks / dblocfor.frm (.txt) next >
Encoding:
Visual Basic Form  |  1999-02-24  |  2.0 KB  |  70 lines

  1. VERSION 5.00
  2. Begin VB.Form DBLocForm 
  3.    BorderStyle     =   3  'Fixed Dialog
  4.    Caption         =   "Path to LOGLOCK.MDB Sample Database"
  5.    ClientHeight    =   2535
  6.    ClientLeft      =   45
  7.    ClientTop       =   330
  8.    ClientWidth     =   5250
  9.    Icon            =   "DBLocForm.frx":0000
  10.    LinkTopic       =   "Form1"
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    ScaleHeight     =   2535
  14.    ScaleWidth      =   5250
  15.    ShowInTaskbar   =   0   'False
  16.    StartUpPosition =   2  'CenterScreen
  17.    Begin VB.CommandButton CancelBtn 
  18.       Cancel          =   -1  'True
  19.       Caption         =   "&Cancel"
  20.       Height          =   375
  21.       Left            =   3840
  22.       TabIndex        =   2
  23.       Top             =   2040
  24.       Width           =   1095
  25.    End
  26.    Begin VB.CommandButton OKBtn 
  27.       Caption         =   "&OK"
  28.       Default         =   -1  'True
  29.       Height          =   375
  30.       Left            =   2610
  31.       TabIndex        =   1
  32.       Top             =   2040
  33.       Width           =   1095
  34.    End
  35.    Begin VB.TextBox DBPath 
  36.       Height          =   345
  37.       Left            =   360
  38.       TabIndex        =   0
  39.       Top             =   1470
  40.       Width           =   4545
  41.    End
  42.    Begin VB.Label Label1 
  43.       Caption         =   $"DBLocForm.frx":000C
  44.       Height          =   1095
  45.       Left            =   360
  46.       TabIndex        =   3
  47.       Top             =   210
  48.       Width           =   4515
  49.    End
  50. Attribute VB_Name = "DBLocForm"
  51. Attribute VB_GlobalNameSpace = False
  52. Attribute VB_Creatable = False
  53. Attribute VB_PredeclaredId = True
  54. Attribute VB_Exposed = False
  55. Option Explicit
  56. Public ModalResult As VbMsgBoxResult
  57. Public DatabasePath As String
  58. Private Sub CancelBtn_Click()
  59.     DatabasePath = ""
  60.     Unload Me
  61. End Sub
  62. Private Sub Form_Load()
  63.     ModalResult = vbCancel
  64. End Sub
  65. Private Sub OKBtn_Click()
  66.     DatabasePath = DBPath.Text
  67.     ModalResult = vbOK
  68.     Unload Me
  69. End Sub
  70.